/**
 * Created by Administrator on 2016/6/30.
 */
var html = document.getElementsByTagName('html')[0];
if(html){
    var w = window.innerWidth;
    var fontSize = (w>750?750:w)/750*100;
    html.style.fontSize = fontSize + 'px';
    /*已经适配来当前的设备*/
}
/*响应*/
window.onload = function(){
    window.onresize = function(){
        var w = window.innerWidth;
        var fontSize = (w>750?750:w)/750*100;
        html.style.fontSize = fontSize + 'px';
    }
}